#include "Invoker.h"
#include <iostream>

namespace Command{
    Invoker::Invoker(Cmd *cmd) {
        this->command = cmd;
    }

    void Invoker::call() {
        std::cout << "invoker do call" << std::endl;
        this->command->execute();
    }
}